﻿Namespace EIBData.DPT
    Public NotInheritable Class EIBDataDPT_1_021
        Inherits EIBDataDPT_1_Base


        Sub New(data As Byte())
            MyBase.New(data)
        End Sub

        Sub New(value As Boolean)
            MyBase.New(value)
        End Sub


        Public Shared Shadows ReadOnly Property DPT_Name As String
            Get
                Return "DPT_LogicalFunction"
            End Get
        End Property

        Public Shared Shadows ReadOnly Property DPT_Number As String
            Get
                Return "1.021"
            End Get
        End Property

        Public Overrides Function ToString() As String
            Return If(_value, "logical function AND", "logical function OR")
        End Function
    End Class
End Namespace